{% extends 'machine/base.html'%}

{% block body_block %}

<div style="position:relative;top:100px;left:50px">
    <img class="ui image" src="https://img-blog.csdnimg.cn/94d2405f3f2a48bc9360c6837f60d696.png#pic_center" width="40" height="40">
    <p style="font-size:36px">Welcome to XKOJ from Giit!</p>
</div>
{% if user.is_authenticated %}
    <div class="ui message" style="position:relative;top:120px;left:50px">
        <i class="close icon"></i>
        <div class="header">Welcome back!</div>
        <p>你要去相信，明天的太阳依旧会升起，苦难的日子终将过去，经历了生命的低潮期，迎接你的便只有灿烂的阳光。</p>
    </div>
    <script type="text/javascript">
        $('.message .close')
            .on('click', function() {
                $(this)
                .closest('.message')
                .transition('fade')
                ;
            })
        ;
    </script>
{% endif %}

{% endblock %}
